package com.nuo.mybatis.entity;

import java.sql.Timestamp;

import javax.persistence.Entity;


@Entity
public class User2 {
	private Integer id;
	private String name2;
	private Timestamp updateDate;
	private String parent;
	
	public String getParent() {
		return parent;
	}
	public void setParent(String parent) {
		this.parent = parent;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name2;
	}
	public void setName(String name) {
		this.name2 = name;
	}
	public Timestamp getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}
	@Override
	public String toString() {
		return "User2 [id=" + id + ", name=" + name2 + ", updateDate="
				+ updateDate + ", parent=" + parent + "]";
	}

	
}
